<!-- +---------------------------------------------------------------------- -->
<!-- | INIS [ WE CAN DO IT JUST THINK ]                                      -->
<!-- +---------------------------------------------------------------------- -->
<!-- | Copyright (c) 2020~2021 http://inis.cc All rights reserved.           -->
<!-- +---------------------------------------------------------------------- -->
<!-- | Author: racns <email: racns@qq.com> <url: https://inis.cn>            -->
<!-- +---------------------------------------------------------------------- -->
<!-- | 公共页脚组件                                                           -->
<!-- +---------------------------------------------------------------------- -->

<template>
    <footer class="footer">
        <div class="row">
            <div class="col-md-6 font-12px">
                <span class="item left bg-dark">© {{ year }} Copyright</span>
                <span class="item right bg-primary"><a :href="theme_config.basic.site.copy.url" target="_blank">{{theme_config.basic.site.copy.code || '备案码'}}</a></span>
                <span v-html="theme_config.developer.footer.left"></span>
            </div>
            <div class="col-md-6 font-12px">
                <div class="text-md-right footer-links d-none d-md-block">
                    <span v-html="theme_config.developer.footer.right"></span>
                    <!-- 版权 - 开始 -->
                    <!-- 描述：此处为版权信息，如果可以的话，请不要删除（若执意删除，请在你的站点留下inis.cn的友链，谢谢） -->
                    <span class="item left bg-dark"><a href="//racns.com/inis.html" target="_blank">Theme</a></span>
                    <span class="item right bg-warning"><a href="//inis.cc" target="_blank">inis</a></span>
                    <!-- 版权 - 结束 -->
                </div>
            </div>
        </div>
    </footer>
</template>

<script>
import { mapState } from 'vuex'
export default {
    setup(){

    },
    computed: {
        year:()=>{
            return (new Date).getFullYear()
        },
        ...mapState(['theme_config'])
    }
}
</script>
